package com.qingke.design_pattern;

import java.util.Arrays;

public class PatternTest {

	public static void main(String[] args) {
		PropertyManager instance=PropertyManager.getInstance();
		System.out.println(instance.getProperty("a"));
		System.out.println(instance.getProperty("b"));
		System.out.println(instance.getProperty("c"));
		System.out.println(instance.getProperty("d"));
		System.out.println(instance.getProperty("e"));
		System.out.println(instance.getProperty("g"));
		System.out.println(Arrays.toString(instance.getPropertyList("g")));
		System.out.println(Arrays.toString(instance.getPropertyList("a")));
	}

}
